package com.zimin.cloud.user.service.impl;

import com.zimin.cloud.mine.pojo.user.view.UserInfoVO;
import com.zimin.cloud.user.pojo.entity.UserInfo;
import com.zimin.cloud.user.mapper.UserInfoMapper;
import com.zimin.cloud.user.service.IUserInfoService;
import com.zimin.mapper.injector.InjectServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 用户基本信息表 服务实现类
 * </p>
 *
 * @author zimin
 * @since 2022-06-14 15:53
 */
@Service("userInfoService")
public class UserInfoServiceImpl extends InjectServiceImpl<UserInfoMapper, UserInfo> implements IUserInfoService {

    @Override
    public List<UserInfoVO> getUserInfoByUserIds(Set<String> userIdList) {
        return listByIds(userIdList,UserInfoVO.class);
    }
}
